<?php

namespace app\model\zs;

use think\Model;

class ZsWechatSubscribeSend extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'wechat_subscribe_send';

    // 设置当前模型的数据库连接
    protected $connection = 'zs';

    // 定义时间戳字段名
    protected $createTime = 'create_at';
    protected $updateTime = null;

    public function memberUser()
    {
        return $this->belongsTo(ZsMemberMeal::class, 'vipcode', 'vipcode');
    }
}
